﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PhanMemDoVui.BusinessObject
{
    [Serializable]
    public class QuestionBank
    {
#region Attributes
        private String _maSo;
        private int _markEasy;
        private int _markMode;
        private int _markHard;
        private int _markVhar;
        private int _timeEasy;
        private int _timeMode;
        private int _timeHard;
        private int _timeVhar;
        private int _ID;
#endregion
#region Default_Constructor
        public QuestionBank()
        {
            _maSo = "Temp";
            _markEasy = 10;
            _markMode = 20;
            _markHard = 30;
            _markVhar = 40;
            _timeEasy = 5;
            _timeMode = 7;
            _timeHard = 9;
            _timeVhar = 12;
        }
#endregion
#region Constructor_Args
        public QuestionBank(String MaSo, int markEasy, int markMode, int markHard, int markVhar, int timeEasy, int timeMode, int timeHard, int timeVhar)
        {
            _maSo = MaSo;
            _markEasy = markEasy;
            _markMode = markMode;
            _markHard = markHard;
            _markVhar = markVhar;
            _timeEasy = timeEasy;
            _timeMode = timeMode;
            _timeHard = timeHard;
            _timeVhar = timeVhar;
        }
#endregion
#region Property
        public String MaSo
        {
            get { return _maSo; }
            set { _maSo = value; }
        }
        public int markEasy
        {
            get { return _markEasy; }
            set { _markEasy = value; }
        }
        public int markMode
        {
            get { return _markMode; }
            set { _markMode = value; }
        }
        public int markHard
        {
            get { return _markHard; }
            set { _markHard = value; }
        }
        public int markVhar
        {
            get { return _markVhar; }
            set { _markVhar = value; }
        }
        public int timeEasy
        {
            get { return _timeEasy; }
            set { _timeEasy = value; }
        }
        public int timeMode
        {
            get { return _timeMode; }
            set { _timeMode = value; }
        }
        public int timeHard
        {
            get { return _timeHard; }
            set { _timeHard = value; }
        }
        public int timeVhar
        {
            get { return _timeVhar; }
            set { _timeVhar = value; }
        }
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
#endregion
    }
}
